//
//  UILabel+QCStyle.m
//  QingCheng
//
//  Created by FYWCQ on 2017/7/28.
//  Copyright © 2017年 馍馍帝👿. All rights reserved.
//

#import "UILabel+QCStyle.h"

#import "UIFont+QCStyle.h"

#import "UIColor+QCStyle.h"

@implementation UILabel (QCStyle)

+ (UILabel *)yf_labelWithFrame:(CGRect)frame
{
   UILabel *label =  [[UILabel alloc]initWithFrame:frame];
    return label;
}
//--------------------------------------------------title---------------------------------------
- (void)titleBoldStyle {
    
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_titleBoldFont];
}
- (void)titleRegularStyle {
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_titleFont];
}
- (void)titleWhiteStyle {
    
    self.textColor = [UIColor whiteColor];
    
    self.font = [UIFont qc_titleBoldFont];
}


//--------------------------------------------------large---------------------------------------

- (void)largeDarkStyle {
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_largeFont];
}
- (void)largeWarmStyle {
    
    self.textColor = [UIColor qc_textWarmColor];
    
    self.font = [UIFont qc_largeFont];
}

//--------------------------------------------------standard---------------------------------------

- (void)standardDarkStyle {
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_standardFont];
}
- (void)standardWarmStyle {
    
    self.textColor = [UIColor qc_textWarmColor];
    
    self.font = [UIFont qc_standardFont];
}
- (void)standardGrayStyle {
    
    self.textColor = [UIColor qc_pinkishGreyColor];
    
    self.font = [UIFont qc_standardFont];
}

- (void)standardHintStyle {
    
    self.textColor = [UIColor qc_textHintColor];;
    
    self.font = [UIFont qc_standardFont];
}

//--------------------------------------------------medium---------------------------------------
- (void)mediumDarkStyle {
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_mediumFont];
}

- (void)mediumWarmStyle {
    
    self.textColor = [UIColor qc_textWarmColor];
    
    self.font = [UIFont qc_mediumFont];
}

- (void)mediumGrayStyle {
    
    self.textColor = [UIColor qc_pinkishGreyColor];
    
    self.font = [UIFont qc_mediumFont];
}

//--------------------------------------------------small---------------------------------------
- (void)smallDarkStyle {
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_smallFont];
}

- (void)smallWarmStyle {
    
    self.textColor = [UIColor qc_textWarmColor];
    
    self.font = [UIFont qc_smallFont];
}

- (void)smallGrayStyle {
   
    self.textColor = [UIColor qc_pinkishGreyColor];
    
    self.font = [UIFont qc_smallFont];
}

//--------------------------------------------------xs---------------------------------------
- (void)xsDarkStyle {
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_xsFont];
}

- (void)xsWarmStyle {
    
    self.textColor = [UIColor qc_textWarmColor];
    
    self.font = [UIFont qc_xsFont];
}

- (void)xsGrayStyle {
    
    self.textColor = [UIColor qc_pinkishGreyColor];
    
    self.font = [UIFont qc_xsFont];
}

//--------------------------------------------------tiny---------------------------------------
- (void)tinyDarkStyle {
    
    self.textColor = [UIColor qc_textDarkColor];
    
    self.font = [UIFont qc_tinyFont];
}

- (void)tinyGrayStyle {
    
    self.textColor = [UIColor qc_pinkishGreyColor];
    
    self.font = [UIFont qc_tinyFont];
}
@end
